ProfilePress\Core\Membership\PaymentMethods\Stripe\Stripe D

Total Complexity 131
Dependencies 17
Dependents 1
Total lines 914
Lines of code 623
Logical lines of code 297
Comment lines 63
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
process_payment()
B
31 17 115
process_offsite_payment()
B
34 17 92
admin_settings()
A
37 9 82
maybe_update_webhook()
A
48 11 31
enqueue_frontend_assets()
A
45 9 44
stripe_cancel()
A
49 8 31
disconnect_stripe_account()
S
55 6 17
save_stripe_connect()
S
55 6 16
process_refund()
S
52 5 25
process_webhook()
S
52 4 24
admin_connection_status_block()
S
55 4 18
validate_fields()
S
62 4 11
__construct()
S
52 3 23
output_connection_error()
S
66 4 7
can_cancel()
S
69 4 6
credit_card_form()
S
57 2 20
should_validate_billing_details()
S
71 3 6
billing_address_form()
S
74 3 5
get_statement_descriptor()
S
59 2 14
link_profile_id()
S
71 2 6
link_transaction_id()
S
71 2 6
has_fields()
S
80 1 3
cancel_immediately()
S
79 1 3
cancel()
S
80 1 3
get_order_metadata()
S
65 1 9
is_billing_fields_removed()
S
79 1 3
is_offsite_checkout_style()
S
78 1 3